#ifndef MESSAGE_DEFS_H
#define MESSAGE_DEFS_H

#define MSG_BAD					0x0
#define MSG_NOP					0x1
#define MSG_DISCONNECT			0x2
#define MSG_UPDATESTAT			0x3
#define MSG_VERSION				0x4
#define MSG_SETVIEW				0x5
#define MSG_SOUND				0x6
#define MSG_TIME				0x7
#define MSG_PRINT				0x8
#define MSG_STUFFTEXT			0x9
#define MSG_SETANGLES			0xA
#define MSG_SERVERINFO			0xB
#define MSG_LIGHTSTYLE			0xC
#define MSG_UPDATENAME			0xD
#define MSG_UPDATEFRAGS			0xE
#define MSG_CLIENTDATA			0xF
#define MSG_STOPSOUND			0x10
#define MSG_UPDATECOLOR			0x11
#define MSG_PARTICLE			0x12
#define MSG_DAMAGE				0x13
#define MSG_SPAWNSTATIC			0x14
#define MSG_SPAWNBINARY			0x15
#define MSG_SPAWNBASELINE		0x16
#define MSG_TEMPENTITY			0x17
#define MSG_SETPAUSE			0x18
#define MSG_SIGHNONUP			0x19
#define MSG_CENTERPRINT			0x1A
#define MSG_KILLEDMONSTER		0x1B
#define MSG_FOUNDSECRET			0x1C
#define MSG_SPAWNSTATICSOUND	0x1D
#define MSG_INTERMISSION		0x1E
#define MSG_FINALE				0x1F
#define MSG_CDTRACK				0x20
#define MSG_SELLSCREEN			0x21


#define SND_VOLUME		0x01 
#define SND_ATTENUATION	0x02

#define IT_SHOTGUN			0x00000001
#define IT_SUPER_SHOTGUN	0x00000002
#define IT_NAILGUN			0x00000004
#define IT_SUPER_NAILGUN	0x00000008
#define IT_GRENADE_LAUNCHER	0x00000010
#define IT_ROCKET_LAUNCHER	0x00000020
#define IT_LIGHTNING		0x00000040
#define IT_EXTRA_WEAPON		0x00000080
#define IT_SHELLS			0x00000100
#define IT_NAILS			0x00000200
#define IT_ROCKETS			0x00000400
#define IT_CELLS			0x00000800
#define IT_AXE				0x00001000
#define IT_ARMOR1			0x00002000
#define IT_ARMOR2			0x00004000
#define IT_ARMOR3			0x00008000
#define IT_SUPERHEALTH		0x00010000 
#define IT_KEY1				0x00020000
#define IT_KEY2				0x00040000
#define IT_INVISIBILITY		0x00080000
#define IT_INVULNERABILITY	0x00100000
#define IT_SUIT				0x00200000
#define IT_QUAD				0x00400000
#define IT_RUNE1			0x10000000
#define IT_RUNE2			0x20000000
#define IT_RUNE3			0x40000000
#define IT_RUNE4			0x80000000

#define TE_SPIKE		0
#define TE_SUPERSPIKE	1
#define TE_GUNSHOT		2
#define TE_EXPLOSION	3
#define TE_TAREXPLOSION	4

#define TE_LIGHTNING1	5
#define TE_LIGHTNING2	6

#define TE_WIZSPIKE		7
#define TE_KNIGHTPIKE	8

#define TE_LIGHTNING9	9

#define TE_LALASPLASH	10
#define TE_TELEPORT		11

#endif